NuclearEngagement\Services\BulkGenerationBatchProcessor D

Total Complexity 258
Dependencies 14
Dependents 5
Total lines 1,986
Lines of code 1,342
Logical lines of code 633
Comment lines 349
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
update_batch_status()
D
15
59 305
schedule_batch_processing()
C
31 27 107
force_task_completion_check()
B
36 20 81
create_batch_jobs()
B
32 17 114
check_and_recover_stuck_tasks()
B
35 18 84
queue_generation()
B
32 13 117
get_batch_status()
B
42 16 49
cleanup_old_batches()
A
37 13 76
cleanup_old_bulk_jobs()
A
39 12 62
calculate_optimal_batch_size()
A
45 9 40
get_retry_status()
A
47 8 37
acquire_lock()
A
45 7 45
schedule_next_batch()
A
46 7 38
handle_failed_batch()
A
39 4 80
get_current_processing_count()
S
54 6 21
cleanup_orphaned_batches()
S
48 5 32
release_lock()
S
58 6 16
create_batches()
S
69 2 6
get_site_option()
S
68 2 7
update_site_option()
S
68 2 7
delete_site_option()
S
69 2 7
__construct()
S
73 1 5
should_batch_process()
S
80 1 3
get_service_name()
S
82 1 3